<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="x-ua-compatible" content="ie=edge">

    <title>基于大数据对电影市场的预测分析</title>

    <!-- Font Awesome Icons -->
    <link rel="stylesheet" href="../static/plugins/fontawesome-free/css/all.min.css">
    <!-- overlayScrollbars -->
    <link rel="stylesheet" href="../static/plugins/overlayScrollbars/css/OverlayScrollbars.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="../static/dist/css/adminlte.min.css">
</head>

<body class="hold-transition sidebar-mini layout-fixed">
<div class="wrapper">
    <!-- 导航栏 -->
    <nav class="main-header navbar navbar-expand navbar-white navbar-light">
        <!-- 左侧导航栏链接 -->
        <ul class="navbar-nav">
            <li class="nav-item">
                <a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
            </li>
        </ul>

        <!-- 右侧导航栏链接 -->
        <ul class="navbar-nav ml-auto">
            <!-- 通知下拉菜单 -->
            <li class="nav-item dropdown">
                <a class="nav-link" data-toggle="dropdown" href="#">
                    <i class="far fa-user"></i>{{ username }}
                </a>
                <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
                    <span class="dropdown-item dropdown-header">用户:{{ username }}</span>
                    <div class="dropdown-divider"></div>
                    <a href="/login_out" class="dropdown-item dropdown-footer">退出</a>
                </div>
            </li>
        </ul>
    </nav>
    <!-- /.navbar -->

    <!-- 主侧边栏容器 -->
    <aside class="main-sidebar sidebar-dark-primary elevation-4">
        <!-- Logo -->
        <a href="#" class="brand-link">
            <span class="brand-text font-weight-light" style="font-size: 14px">基于大数据对电影市场的预测分析</span>
        </a>

        <!-- Sidebar -->
        <div class="sidebar" style="height: calc(100vh - (7rem + 1px));">
            <!-- 侧边栏菜单 -->
            <nav class="mt-2">
                <ul id="menutree" class="nav nav-pills nav-sidebar flex-column nav-child-indent" data-widget="treeview"
                    role="menu" data-accordion="false">
                </ul>
            </nav>
            <!-- /.sidebar-menu -->
        </div>

    </aside>

    <!-- Content Wrapper. 包含页面内容 -->
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper iframe-mode" data-widget="iframe" data-loading-screen="750">
        <div class="nav navbar navbar-expand navbar-white navbar-light border-bottom p-0">
            <div class="nav-item dropdown">
                <a class="nav-link bg-danger dropdown-toggle" data-toggle="dropdown" href="#" role="button"
                   aria-haspopup="true" aria-expanded="false">关闭</a>
                <div class="dropdown-menu mt-0">
                    <a class="dropdown-item" href="#" data-widget="iframe-close" data-type="all">全部关闭</a>
                    <a class="dropdown-item" href="#" data-widget="iframe-close" data-type="all-other">关闭其他</a>
                </div>
            </div>
            <a class="nav-link bg-light" href="#" data-widget="iframe-scrollleft"><i
                    class="fas fa-angle-double-left"></i></a>
            <ul class="navbar-nav overflow-hidden" role="tablist"></ul>
            <a class="nav-link bg-light" href="#" data-widget="iframe-scrollright"><i
                    class="fas fa-angle-double-right"></i></a>
            <a class="nav-link bg-light" href="#" data-widget="iframe-fullscreen"><i class="fas fa-expand"></i></a>
        </div>
        <div class="tab-content">
            <div class="tab-empty">
                <!--<h5 class="display-4" style="font-size: 1.5rem;">无页面展示!</h5>-->
            </div>
            <div class="tab-loading">
                <div>
                    <h2 class="display-4" style="font-size: 1.5rem;">加载中…… <i class="fa fa-sync fa-spin"></i></h2>
                </div>
            </div>
        </div>
    </div>
    <!-- /.content-wrapper -->

</div>
<!-- ./wrapper -->

<!-- 载入脚本 -->

<!-- REQUIRED SCRIPTS -->
<!-- jQuery -->
<script src="../static/js/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="../static/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- overlayScrollbars -->
<script src="../static/plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js"></script>
<!-- AdminLTE App -->
<script src="../static/dist/js/adminlte.js"></script>
<!-- menu -->
<script src="../static/plugins/data.json"></script>

<script src="../static/plugins/adminlte3-menu/menu.js"></script>

<script type="text/javascript">


    $(document).ready(function () {
        setContentSize();
        $(window).resize(function () {
            setContentSize();
        });
        $("#menutree").AdminLTE3Menu({
            leafKey: "leaf",
            childKey: "children",
            menuURLKey: "url",
            menuNameKey: "text",
            menuIconKey: "icon",
            menuIdKey: "id",
            menuRightTextKey: "right_text",
            menuData: menuData.menus,
        });
    });

    /*
    *iframe窗口大小适应
    */
    function setContentSize() {
        var wh = $(window).height();
        console.log(wh);
        $("#iframeMain").height(wh - 57 - 6);
    }
    setTimeout(dd, 1000 )


    function  dd(){
        console.log($('#index2'))
        $('#index2').click()
    }

</script>
</body>
</html>
